 
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
    <div id="templatemo_content_right">
        <c:if test="${not empty user}">
        <form action="EditInfo" method="post">
            <h1><input type="text" name="fname" value="${user.firstName}"/><span> <input type="text" name="lname"value="${user.lastName}"/>(<a href="Logout"><small> Logout </small></a>) </span></h1>
            <div class="image_panel"><img src="images/profile-default.png" alt="CSS Template" width="100" height="150" />
            </div>
            <br/>
            <div> 
                <ul>
                    <h4>Email: <input type="text" name="email" value="${user.email}"/></h4>
                    <h4>Birth Date: <input type="date" name="date" value="${user.birthDate}"/></h4>
                    <h4>Credit: <big><i>$ ${user.credit}</i></big></li></h4>
                    <h4><big><i>${user.type}</i></big></li></h4>            <div align="center"> <input type="submit" value="Save Changes" /></div>
                </ul>
            </div>

        </form>
        <div class="cleaner_with_width">&nbsp;</div>


    </div> <!-- end of content right -->

    <div class="cleaner_with_height">&nbsp;</div>
    </c:if>
    <c:if test="${empty user}">
        <h2> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sorry, User not found </h2> 
    </c:if>
</div> <!-- end of content right -->

<div class="cleaner_with_height">&nbsp;</div>
